<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>

	<form:form commandName="bnpUserFilter" cssClass="form-horizontal" role="form">
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="name_filter">用户姓名</label>
			<div class="col-sm-3">
				<input type="text" id="name_filter" name="name" class="form-control ">
			</div>
			<label class="col-sm-2 control-label no-padding-right" for="phone_filter">用户手机号</label>
			<div class="col-sm-4">
				<input type="text" id="phone_filter" name="phone" class="form-control ">
			</div>
		</div>

		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="role_filter">用户角色</label>
			<div class="col-sm-3">
				<select name="role" id="role_filter" class="form-control">
					<option value="">请选择</option>
					<option value="经办人">经办人</option>
					<option value="责任人">责任人</option>
					<option value="领导">领导</option>
				</select>
			</div>
			<label class="col-sm-2 control-label no-padding-right" for="branch_filter">责任单位</label>
			<div class="col-sm-4">
				<select name="branch" id="branch_filter" class="form-control">
					<option value="">请选择</option>
					<c:forEach items="${resDepts}" var="resDepts">
						<option value="${resDepts}">${resDepts}</option>
					</c:forEach>
				</select>
			</div>

		</div>
	</form:form>
<script>
    jQuery(function($) {
        $(".date-picker").datepicker({
            inline: true,
            format:"yyyymmdd",
            autoclose: true,
            todayHighlight: true,
            language: 'cn'
        }).next().on(ace.click_event, function(){
            $(this).prev().focus();
        });
    });
</script>